package com.atguigu.srb.sms;

import com.atguigu.srb.sms.util.SmsProperties;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @program: srb
 * @author: 龙龙
 * @create: 2022-02-09 11:48
 * @description:
 **/
@SpringBootTest
@RunWith(SpringRunner.class)
public class test {

    @Autowired
    private RedisTemplate redisTemplate;

    @Test
    public void test01(){
        System.out.println(SmsProperties.KEY_ID);
        System.out.println(SmsProperties.KEY_SECRET);
        System.out.println(SmsProperties.REGION_Id);
        System.out.println(SmsProperties.SIGN_NAME);
        System.out.println(SmsProperties.TEMPLATE_CODE);
 redisTemplate.opsForValue().set("srb:sms:code15170608303","3456");
    }


}
